<!--
  Copyright JS Foundation and other contributors, http://js.foundation

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->

<script type="text/html" data-help-name="yaml">
    <p>Convierte entre una cadena con formato YAML y su representación de objeto JavaScript, en cualquier dirección.</p>
    <h3>Entradas</h3>
    <dl class="message-properties">
        <dt>payload<span class="property-type">objeto | texto</span></dt>
        <dd>Un objeto JavaScript o una cadena YAML.</dd>
    </dl>
    <h3>Salidas</h3>
    <dl class="message-properties">
        <dt>payload<span class="property-type">objeto | texto</span></dt>
        <dd>
            <ul>
                <li>Si la entrada es una cadena YAML, intenta convertirla en un objeto JavaScript.</li>
                <li>Si la entrada es un objeto JavaScript, crea una cadena YAML.</li>
            </ul>
        </dd>
    </dl>
</script>
